#include "CommandData.h"
#include <wx/wx.h>

class CommandDataImpl
{
public:
	CommandDataImpl() { }
	wxString component;
	wxString command;
	wxString data;
};

CommandData::CommandData(
	const wxString& component, 
	const wxString& command, 
	const wxString& data)
{
	impl = new CommandDataImpl();
	impl->component = component;
	impl->command = command;
	impl->data = data;
}

CommandData::~CommandData()
{
	delete impl;
}

const wxString& CommandData::GetComponent() const
{
	return impl->component;
}

const wxString& CommandData::GetCommand() const
{
	return impl->command;
}

const wxString& CommandData::GetData() const
{
	return impl->data;
}